//最底层div
.underlying {
  width: 100%;
}

//外层div
.table {
  width: 97%;
  height: 20px;
  margin-left: 25px;
  margin-top: 10px;
  margin-right: 10px;
  text-align: center;
}

.bbs {
  height: 44px;
}

//表头
.tableHeard {
  background: rgba(48, 73, 77, 1);
  border-radius: 4px 4px 0px 0px;
  height: 50px; //改高度50px  Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 1); ////  05/09
}

::ng-deep thead {
  text-align: center !important;
}

th {
  background: rgba(48, 73, 77, 1) !important;
  height: 50px;
  // padding: 0px !important;
  // padding-right:0 !important;
  // padding-left:0 !important;
  color: rgba(255, 255, 255, 1) !important;
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
}

::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

// td{
//   padding-top:6px !important;
//   padding-bottom:6px !important;
//   padding-left:1px !important;
//   padding-right:3px !important;
//   color:#ffffff;
//   }
//工联单Table
.designTable {
  margin: 0 auto;
}

//表格内容
.tablecontent {
  background: rgba(32, 48, 51, 1) !important;
  color: #ffffff;
}

// td>input
.input_first>input {
  width: 140px;
  background-color: #1B1D1F;
  border: 1px solid rgba(133, 141, 143, 1);
  color: #ffffff;
  font-size: 18px;
  height: 32px;
  border-radius: 4px;
  text-indent: 12px;
  vertical-align: middle;
}

.input_first:hover>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

.input_first:focus>input {
  border: 1px solid rgba(72, 156, 156, 1);
}

::ng-deep .ant-table-tbody>tr>td {
  border-bottom: 1px solid rgba(48, 73, 77, 1) !important;
  background: rgba(32, 48, 51, 1);
}

:host ::ng-deep tr.ant-table-expanded-row td>.ant-table-wrapper {
  margin-top: -6px;
  margin-left: 0px;
  margin-right: -6px;
  margin-bottom: -7px;
}

:host ::ng-deep table {
  height: 39px; //修改高度 Claire 04/23
}

#first {
  background-color: #203033;
  height: 45px;
  text-align: center;
}

#first:hover>td {
  background: rgba(48, 73, 77, 0.5) !important; //修改背景色 Claire 04/23
}

:host ::ng-deep .ant-table-thead>tr>th {
  text-align: center;
}

// 滚动条
::ng-deep ::-webkit-scrollbar {
  background: rgba(32, 48, 51, 1);
  width: 6px; //右側滾動條寬度  Claire 04/24
  height: 15px; //下側滾動條高度  Claire 04/24
}

// // 滚动条的条  vertical 竖向
::ng-deep ::-webkit-scrollbar-thumb:vertical {
  background: #489C9C;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

// // horizontal 横向
::ng-deep ::-webkit-scrollbar-thumb:horizontal {
  box-shadow: auto;
  background: #489C9C;
  ;
  border: 1px solid rgba(32, 48, 51, 1);
  border-radius: 5px;
}

:host::ng-deep .ant-table-header {
  background: rgba(48, 73, 77, 1);
  overflow: hidden !important;

}

:host::ng-deep .ant-table-fixed-header .ant-table-scroll .ant-table-header {
  margin-bottom: -10px !important;
}



::ng-deep::-webkit-scrollbar-corner {
  ///去右下滾動條白色  Claire 04/24
  background-color: rgba(32, 48, 51, 1); ///去右下滾動條白色  Claire 04/24
}

::ng-deep .ant-table-fixed-header>.ant-table-content>.ant-table-scroll>.ant-table-body {
  background: rgba(32, 48, 51, 1);
  // height: 650px; ///   05/09
  border-bottom: none; ///   05/09
  margin-top: 10px;
}

// 确认按钮
.confirmAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_ok.svg');
  background-repeat: no-repeat;
  background-position: center;
}

// 取消按钮
.cancelAdd {
  width: 27px;
  height: 27px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  border: 0;
  background-image: url('../../../assets/image/icon_cancel.svg');
  background-repeat: no-repeat;
  background-position: center;
}

:host ::ng-deep .ant-table table {
  text-align: center;
}

// 筛选

//筛选
.state {
  background: rgba(48, 73, 77, 1) !important;
  border: 1px solid rgba(71, 156, 156, 1);
  border-radius: 4px;
  color: rgba(255, 255, 255, 1) !important;
}

.search-box {
  padding: 10px 18px;
}

.search-box input {
  width: 188px;
  margin-bottom: 8px;
  display: block;
}

.search-box button {
  width: 90px;
  background-color: rgba(72, 156, 156, 1);
  color: #fff;
  border: 0px;
}

.search-box button:hover {
  border: 1px solid rgba(255, 255, 255, 1);
}

.search-button {
  margin-right: 8px;
}

.ant-table-filter-icon:hover {
  background-color: rgba(0, 0, 0, 0) !important;
  color: #fff !important;
  transform: scale(1.3);
}

:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon {
  right: 30px;
  font-size: 18px;
}

:root .ant-dropdown.nz-dropdown {
  margin-top: 12px;
  margin-bottom: 0px;
}

::ng-deep .ant-table-filter-dropdown {
  margin-left: -50px;
  margin-top: 12px;
}

:host ::ng-deep .ant-btn {
  border: 1px solid rgba(71, 156, 156, 1);
  border-radius: 4px;
  background: rgba(48, 73, 77, 1);
  color: #ffffff;
  min-width: 130px;
}

:host ::ng-deep .cdk-overlay-pane {
  min-width: 130px;
}

:host ::ng-deep .ant-dropdown {
  color: #ffffff;
}

::ng-deep .ant-dropdown-menu-item {
  font-size: 18px;
}

::ng-deep .ant-dropdown-menu {
  background: rgba(48, 73, 77, 1);
  padding: 0px;
  border-radius: 0px;
}

.doing {
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 2px;
  color: #ffffff;
  line-height: 16px;
  -webkit-appearance: none;
  margin-right: 8px;
}

.doing:checked {
  color: #ffffff;
  background-color: rgba(72, 156, 156, 1);
  border: 1px solid rgba(72, 156, 156, 1);
  text-align: center;
}

.doing::after {
  content: "\2713";
  font-size: 16px;
}

.Li {
  width: 130px;
  text-align: left;
}

.Li:hover {
  background: rgba(73, 146, 146, 0.4);
}

//箱号搜索
.search-box {
  padding: 8px;
  padding-left: 16px;
}

.search-box input {
  width: 188px;
  margin-bottom: 8px;
  display: block;
}

.search-box button {
  width: 90px;
  background-color: rgba(72, 156, 156, 1);
  color: #fff;
  border: 0px;
}

.search-box button:hover {
  border: 1px solid rgba(255, 255, 255, 1);
}

.search-button {
  margin-right: 8px;
}

.ant-table-filter-icon {

  transform: scale(1.2);
  // margin-left: -30px;
}

.ant-table-filter-icon:hover {
  background-color: rgba(0, 0, 0, 0) !important;
  color: #fff !important;
  transform: scale(1.6);
}

//鼠标浮动颜色
:host ::ng-deep .fontColor:hover {
  color: rgba(72, 156, 156, 1) !important;
  text-align: center !important;
}

:host ::ng-deep .ant-table-thead>tr>th .ant-table-filter-icon {
  right: 60px;
}

:host ::ng-deep #second:hover>td {
  background: rgba(27, 41, 44, 1) !important; //修改背景色 Claire 04/21
  height: 39px; //修改高度 Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 0.5) !important; //修改颜色 Claire 04/21
}

:host ::ng-deep #second>td {
  background: #1C2224 !important;
  height: 39px; //修改高度 Claire 04/22
  border-bottom: 1px solid rgba(48, 73, 77, 0.5) !important; //修改颜色 Claire 04/21
  text-align: center;
}

//下拉箭头
::ng-deep.ant-table-row-expand-icon {
  outline: none;
  border: 0;
  display: inline-block;
  width: 17px;
  height: 17px;
  color: rgba(48, 73, 77, 0);
  background: url(../../../assets/image/icon_down.svg) no-repeat;
}

::ng-deep.ant-table-row-expand-icon:hover {
  outline: none;
  border: 0;
  display: inline-block;
  width: 17px;
  height: 17px;
  color: rgba(32, 48, 51, 0);
  color: rgba(48, 73, 77, 0);
  background: url(../../../assets/image/icon_down.svg) no-repeat;

}

:host::ng-deep.ant-table-row-expand-icon.ant-table-row-expanded {
  //outline: none;
  border: 0;
  //background:red;
  background: url(../../../assets/image/icon_up.svg) no-repeat;
  width: 17px;
  height: 17px;
}

:host ::ng-deep .ant-btn {
  border: 1px solid rgba(71, 156, 156, 1);
  border-radius: 4px;
  background: rgba(48, 73, 77, 1);
  color: #ffffff;
  min-width: 130px;
}

:host ::ng-deep .ant-radio,
.ant-radio-group,
.ant-radio-wrapper {
  font-size: 18px;
  color: #ffffff;
}

::ng-deep.ant-radio-inner::after {
  background-color: rgba(72, 156, 156, 1);
}

::ng-deep.ant-checkbox-checked .ant-checkbox-inner {
  --antd-wave-shadow-color: rgba(72, 156, 156, 1);
  background-color: rgba(72, 156, 156, 1);
  border-color: rgba(72, 156, 156, 1);
  border-radius: 2px;
}

::ng-deep .ant-radio-wrapper {
  margin: 0px;
}

.Li {
  width: 130px;
  text-align: left;
}

.Li:hover {
  background: rgba(73, 146, 146, 0);
}

::ng-deep .ant-dropdown-menu-item,
.ant-dropdown-menu-submenu-title {
  padding: 5px 0px;
}

label:hover {
  background: rgba(73, 146, 146, 0.4);
}

::ng-deep .ant-dropdown-menu-item {
  padding: 0px;
}
